package com.cs.noTender.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;


/**
 * @Author：zrx
 * @Package：com.cs.noTender
 * @Project：RuoYi-Cloud1204
 * @name：CsQuotation
 * @Date：2024/12/9 17:29
 * @Filename：CsQuotation
 */
public class CsQuotation extends BaseEntity {
    private static final long serialVersionUID = 3091944791906139644L;
    @Excel(name = "报价单号")
    private Integer bjId;
    @Excel(name = "采购项目编号")
    private String gfId;
    @Excel(name = "报价次数")
    private Integer bjSecond;
    @Excel(name = "报价金额")
    private BigDecimal bjTotal;
    @Excel(name = "供应商ID")
    private Integer bjHid;
    @Excel(name = "是否删除")
    private Integer isDelete;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报价时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;
    private CsSupplier csSupplier;

    public Integer getBjId() {
        return bjId;
    }

    public void setBjId(Integer bjId) {
        this.bjId = bjId;
    }

    public String getGfId() {
        return gfId;
    }

    public void setGfId(String gfId) {
        this.gfId = gfId;
    }

    public Integer getBjSecond() {
        return bjSecond;
    }

    public void setBjSecond(Integer bjSecond) {
        this.bjSecond = bjSecond;
    }

    public BigDecimal getBjTotal() {
        return bjTotal;
    }

    public void setBjTotal(BigDecimal bjTotal) {
        this.bjTotal = bjTotal;
    }

    public Integer getBjHid() {
        return bjHid;
    }

    public void setBjHid(Integer bjHid) {
        this.bjHid = bjHid;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public CsSupplier getCsSupplier() {
        return csSupplier;
    }

    public void setCsSupplier(CsSupplier csSupplier) {
        this.csSupplier = csSupplier;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("bjId", bjId)
                .append("gfId", gfId)
                .append("bjSecond", bjSecond)
                .append("bjTotal", bjTotal)
                .append("bjHid", bjHid)
                .append("isDelete", isDelete)
                .append("createtime", createtime)
                .append("csSupplier", csSupplier)
                .toString();
    }
}
